messages = {
	{
		define = "struct", name = "RoleInfo",
		attributes =
		{
			{type="int32", name="rid", default = 0},
			{type="int16", name="hid", default = 0},
			{type="int16", name="lvl", default = 1},
			{type="int16", name="elvl", default = 0},
			{type="int32", name="sceneid", default = 0},
		}
	},
	{
		define = "msg", name="RoleRequest", category = "14", id = "5", base = "MsgBase",
		 attributes =
		 {
			 {type="int32", name = "pid"},
		 }
	},
	{
		define = "msg", name="RoleResponse", category = "14", id = "6", base = "MsgBase",
		 attributes =
		 {
			 {type="int8", name = "errcode"},
			 {type="RoleInfo", name = "roles", list = true},
		 }
	},
	{
		define = "msg", name="CreateRoleRequest", category = "14", id = "9", base = "MsgBase",
		 attributes =
		 {
			 {type="int32", name = "pid"},
			 {type="RoleInfo", name = "role"},
		 }
	},
	{
		define = "msg", name="CreateRoleResponse", category = "14", id = "10", base = "MsgBase",
		 attributes =
		 {
			 {type="int8", name = "errcode"},
			 {type="RoleInfo", name = "role"},
		 }
	},
	{
		define = "msg", name="DeleteRoleRequest", category = "14", id = "11", base = "MsgBase",
		 attributes =
		 {
			 {type="int32", name = "pid"},
			 {type="int32", name = "rid"},
		 }
	},
	{
		define = "msg", name="DeleteRoleResponse", category = "14", id = "12", base = "MsgBase",
		 attributes =
		 {
			 {type="int8", name = "errcode"},
			 {type="int32", name = "rid"},
		 }
	},
}

